package org.zht.dormpro.pub.util;

import org.apache.shiro.crypto.hash.Md5Hash;

public class MD5HashUtil {
    public static String getPassword(String source,String salt,int hashIterations){
        Md5Hash md5Hash = new Md5Hash(source,salt,hashIterations);
        String password = md5Hash.toString();
        return password;
    }
}
